package com.ouheng.shop.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.ouheng.shop.dao.LebeDao;
import com.ouheng.shop.domain.LebeDO;
import com.ouheng.shop.service.LebeService;



@Service
public class LebeServiceImpl implements LebeService {
	@Autowired
	private LebeDao lebeDao;
	
	@Override
	public LebeDO get(Long id){
		return lebeDao.get(id);
	}
	
	@Override
	public List<LebeDO> list(Map<String, Object> map){
		return lebeDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return lebeDao.count(map);
	}
	
	@Override
	public int save(LebeDO lebe){
		return lebeDao.save(lebe);
	}
	
	@Override
	public int update(LebeDO lebe){
		return lebeDao.update(lebe);
	}
	
	@Override
	public int remove(Long id){
		return lebeDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return lebeDao.batchRemove(ids);
	}
	
}
